package cn.com.utt.unms.service;

import java.util.List;
import org.springframework.stereotype.Service;
import cn.com.utt.common.exception.BusinessException;
import cn.com.utt.common.vo.RestResult;
import cn.com.utt.common.vo.TableInput;
import cn.com.utt.common.vo.TableOutput;
import cn.com.utt.unms.pojo.WXAuthorizer;
import cn.com.utt.unms.pojo.WifiConf;
import cn.com.utt.unms.vo.ShopList;
import cn.com.utt.unms.vo.WifiConfInfo;

@Service
public interface WifiCfgService {

	public ShopList queryWXShopList(long cfgId) throws BusinessException;

	public WifiConf queryWifiConfById(long id);
	
	public List<WifiConf> queryAll(long userId);

	public WXAuthorizer queryWxAuthorizer(long cfgId);

	public void updateWifiConf(WifiConf conf, long cfgId) throws BusinessException;

	public void saveWifiConf(WifiConf conf);
	
	RestResult delete(List<Long> cfgIds, Long userId);
	
	TableOutput<WifiConfInfo> queryByCondition(TableInput input, Long userId);

}